package stud.aistar.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import stud.aistar.entity.IllMed;
import stud.aistar.mapper.IllMedMapper;
import stud.aistar.service.IIllMedService;

import java.util.List;

/**
 * *
 *
 * @ClassName :wangyu
 * @Description
 * @Author
 * @Date2019/10/18 14:21
 * @Version V1.0
 */
@Service
@Transactional
public class IllMedServiceImpl implements IIllMedService{

    @Autowired
    private IllMedMapper mapper;

    @Override
    public List<IllMed> findAll() {
        List<IllMed> list = mapper.findAll();
        return list;
    }
}
